package com.qyhl.webtv.basiclib.utils.fresco;

import android.app.Application;

import javax.inject.Singleton;

import dagger.BindsInstance;
import dagger.Component;

@Singleton
@Component(modules = {RingModule.class})
public interface RingComponent {
    Application application();//提供Application

    ImageConfig imageConfig();//提供图片加载配置

    IImageManager imageManager();//提供图片加载管理者

    void inject(FrescoImageUtil baseUtil);

    @Component.Builder
    interface Builder {
        @BindsInstance
        Builder application(Application application);

        RingComponent build();
    }

}
